package com.lcy.smartcity.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;

public class UserDTO {
    private Long id;
    private String username;
    private String password;
    private String phoneNumber;
    private Boolean isAdmin;
    private LocalDateTime createdAt;
    private Boolean isSuperAdmin;

    // getter/setter
    public Long getId() {return id;}
    public void setId(Long id) {this.id = id;}

    public String getUsername() {return username;}
    public void setUsername(String username) {this.username = username;}

    public String getPassword() {return password;}
    public void setPassword(String password) {this.password = password;}

    public String getPhoneNumber() {return phoneNumber;}
    public void setPhoneNumber(String phoneNumber) {this.phoneNumber = phoneNumber;}

    public Boolean getIsAdmin() {return isAdmin;}
    public void setIsAdmin(Boolean isAdmin) {this.isAdmin = isAdmin;}

    public LocalDateTime getCreatedAt() {return createdAt;}
    public void setCreatedAt(LocalDateTime createdAt) {this.createdAt = createdAt;}

    public Boolean getIsSuperAdmin() {return isSuperAdmin;}
    public void setIsSuperAdmin(Boolean isSuperAdmin) {this.isSuperAdmin = isSuperAdmin;}
}
